package com.edu.study.base.needfieldMetadata.mapper;

import com.edu.study.base.needfieldMetadata.domain.TbNeedfieldMetadataRy;

import java.util.List;

/**
 * 显示项配置Mapper接口
 *
 * @author jjt
 * @date 2021-03-11
 */
public interface TbNeedfieldMetadataRyMapper
{
    /**
     * 查询显示项配置
     *
     * @param id 显示项配置ID
     * @return 显示项配置
     */
    public TbNeedfieldMetadataRy selectTbNeedfieldMetadataRyById(String id);

    /**
     * 查询显示项配置列表
     *
     * @param tbNeedfieldMetadataRy 显示项配置
     * @return 显示项配置集合
     */
    public List<TbNeedfieldMetadataRy> selectTbNeedfieldMetadataRyList(TbNeedfieldMetadataRy tbNeedfieldMetadataRy);

    /**
     * 新增显示项配置
     *
     * @param tbNeedfieldMetadataRy 显示项配置
     * @return 结果
     */
    public int insertTbNeedfieldMetadataRy(TbNeedfieldMetadataRy tbNeedfieldMetadataRy);

    /**
     * 修改显示项配置
     *
     * @param tbNeedfieldMetadataRy 显示项配置
     * @return 结果
     */
    public int updateTbNeedfieldMetadataRy(TbNeedfieldMetadataRy tbNeedfieldMetadataRy);
    public int updateTbNeedfieldMetadata(TbNeedfieldMetadataRy tbNeedfieldMetadataRy);

    /**
     * 删除显示项配置
     *
     * @param id 显示项配置ID
     * @return 结果
     */
    public int deleteTbNeedfieldMetadataRyById(String id);

    /**
     * 批量删除显示项配置
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTbNeedfieldMetadataRyByIds(String[] ids);
}
